/**
 * 
 */
package metalink.admin;

import java.util.ArrayList;

import com.opensymphony.xwork2.ActionSupport;

import model.admin.GetStudentListMo;

import vo.StudentDetailsVo;
import vo.*;

/**
 * @author Sony
 * 
 */
public class GetStudentList extends ActionSupport{
	ArrayList<StudentDetailsVo> details;
	public String execute() {
		System.out.println("came here");
		details = new ArrayList<StudentDetailsVo>();
		GetStudentListMo studentListObject=new GetStudentListMo();
		details = studentListObject.GetStudentDetails();
		return SUCCESS;
	}
	/**
	 * @return the details
	 */
	public ArrayList<StudentDetailsVo> getDetails() {
		return details;
	}
	/**
	 * @param details the details to set
	 */
	public void setDetails(ArrayList<StudentDetailsVo> details) {
		this.details = details;
	}
}
